package com.cw.tree;

import java.util.Observable;

public class TreeData extends Observable {

	private Object m_value;

	// private Command command;

	public TreeData(Object value) {
		m_value = value;
	}

	// get Data
	public Object getData() {
		return m_value;
	}

	// public void setCommand(Command com){
	// command = com;
	// }
	//
	// public Command getCommand(){
	// return command;
	// }

	// set Data
	public void setData(Object value) {
		m_value = value;

		// Make sure to set the hasChanged flas to true
		// otherwise the notifyObservers() call will not
		// notify the Observers
		setChanged();
	}
}
